﻿namespace WMS6.Web.MessageServiceRef
{
    using System;
    using System.CodeDom.Compiler;
    using System.Collections.Generic;
    using System.Data;
    using System.ServiceModel;

    [GeneratedCode("System.ServiceModel", "3.0.0.0"), ServiceContract(Namespace="WMS6.Services", ConfigurationName="MessageServiceRef.IMessageService")]
    public interface IMessageService
    {
        [OperationContract(Action="WMS6.Services/IMessageService/DeleteSendMessage", ReplyAction="WMS6.Services/IMessageService/DeleteSendMessageResponse"), FaultContract(typeof(UserMessageInfo), Action="WMS6.Services/IMessageService/DeleteSendMessageUserMessageInfoFault", Name="UserMessageInfo", Namespace="http://schemas.datacontract.org/2004/07/WMS6.DataEntity")]
        string DeleteSendMessage(List<string> UserMessageID, PubParasInfo pubParasInfo);
        [OperationContract(Action="WMS6.Services/IMessageService/DeleteUserMessage", ReplyAction="WMS6.Services/IMessageService/DeleteUserMessageResponse"), FaultContract(typeof(UserMessageInfo), Action="WMS6.Services/IMessageService/DeleteUserMessageUserMessageInfoFault", Name="UserMessageInfo", Namespace="http://schemas.datacontract.org/2004/07/WMS6.DataEntity")]
        string DeleteUserMessage(List<string> UserMessageID, PubParasInfo pubParasInfo);
        [OperationContract(Action="WMS6.Services/IMessageService/GetAllUnreadUserMessage", ReplyAction="WMS6.Services/IMessageService/GetAllUnreadUserMessageResponse"), FaultContract(typeof(UserMessageQueryEntity), Action="WMS6.Services/IMessageService/GetAllUnreadUserMessageUserMessageQueryEntityFault", Name="UserMessageQueryEntity", Namespace="http://schemas.datacontract.org/2004/07/WMS6.QueryEntity")]
        DataSet GetAllUnreadUserMessage(PubParasInfo pubParasInfo);
        [FaultContract(typeof(UserMessageQueryEntity), Action="WMS6.Services/IMessageService/GetInMessageInfoByQueryEntityUserMessageQueryEntityFault", Name="UserMessageQueryEntity", Namespace="http://schemas.datacontract.org/2004/07/WMS6.QueryEntity"), OperationContract(Action="WMS6.Services/IMessageService/GetInMessageInfoByQueryEntity", ReplyAction="WMS6.Services/IMessageService/GetInMessageInfoByQueryEntityResponse")]
        DataSet GetInMessageInfoByQueryEntity(UserMessageQueryEntity userMessageInfo, PubParasInfo pubParasInfo);
        [OperationContract(Action="WMS6.Services/IMessageService/GetMessageCommandInfoByQueryEntity", ReplyAction="WMS6.Services/IMessageService/GetMessageCommandInfoByQueryEntityResponse")]
        DataSet GetMessageCommandInfoByQueryEntity(MessageCommandQueryEntity messageCommandQuery, PubParasInfo pubParasInfo);
        [OperationContract(Action="WMS6.Services/IMessageService/GetMessageCommandInfoBySqlWhere", ReplyAction="WMS6.Services/IMessageService/GetMessageCommandInfoBySqlWhereResponse")]
        DataSet GetMessageCommandInfoBySqlWhere(List<string> sqlWhere, MessageCommandQueryEntity messageCommandQuery, PubParasInfo pubParasInfo);
        [OperationContract(Action="WMS6.Services/IMessageService/GetMessageCommandInfosByQueryEntity", ReplyAction="WMS6.Services/IMessageService/GetMessageCommandInfosByQueryEntityResponse")]
        List<MessageCommandInfo> GetMessageCommandInfosByQueryEntity(MessageCommandQueryEntity messageCommandQuery, PubParasInfo pubParasInfo);
        [OperationContract(Action="WMS6.Services/IMessageService/GetMessageCommandInfosBySqlWhere", ReplyAction="WMS6.Services/IMessageService/GetMessageCommandInfosBySqlWhereResponse")]
        List<MessageCommandInfo> GetMessageCommandInfosBySqlWhere(List<string> sqlWhere, MessageCommandQueryEntity messageCommandQuery, PubParasInfo pubParasInfo);
        [FaultContract(typeof(UserMessageQueryEntity), Action="WMS6.Services/IMessageService/GetUserMessageAllInfoUserMessageQueryEntityFault", Name="UserMessageQueryEntity", Namespace="http://schemas.datacontract.org/2004/07/WMS6.QueryEntity"), OperationContract(Action="WMS6.Services/IMessageService/GetUserMessageAllInfo", ReplyAction="WMS6.Services/IMessageService/GetUserMessageAllInfoResponse")]
        DataSet GetUserMessageAllInfo(PubParasInfo pubParasInfo);
        [OperationContract(Action="WMS6.Services/IMessageService/GetUserMessageInfoByID", ReplyAction="WMS6.Services/IMessageService/GetUserMessageInfoByIDResponse")]
        UserMessageInfo GetUserMessageInfoByID(string userMessageID, PubParasInfo pubParasInfo);
        [FaultContract(typeof(UserMessageQueryEntity), Action="WMS6.Services/IMessageService/GetUserMessageInfoByQueryEntityUserMessageQueryEntityFault", Name="UserMessageQueryEntity", Namespace="http://schemas.datacontract.org/2004/07/WMS6.QueryEntity"), OperationContract(Action="WMS6.Services/IMessageService/GetUserMessageInfoByQueryEntity", ReplyAction="WMS6.Services/IMessageService/GetUserMessageInfoByQueryEntityResponse")]
        DataSet GetUserMessageInfoByQueryEntity(UserMessageQueryEntity userMessageInfo, PubParasInfo pubParasInfo);
        [OperationContract(Action="WMS6.Services/IMessageService/GetUserUnreadMessageInfoByID", ReplyAction="WMS6.Services/IMessageService/GetUserUnreadMessageInfoByIDResponse")]
        UserUnreadMessageInfo GetUserUnreadMessageInfoByID(string userID, PubParasInfo pubParasInfo);
        [OperationContract(Action="WMS6.Services/IMessageService/InsertMessageCommandInfo", ReplyAction="WMS6.Services/IMessageService/InsertMessageCommandInfoResponse")]
        string InsertMessageCommandInfo(MessageCommandInfo messageCommandInfo, PubParasInfo pubParasInfo);
        [OperationContract(Action="WMS6.Services/IMessageService/InsertMessageCommandInfos", ReplyAction="WMS6.Services/IMessageService/InsertMessageCommandInfosResponse")]
        bool InsertMessageCommandInfos(List<MessageCommandInfo> messageCommandInfos, PubParasInfo pubParasInfo);
        [OperationContract(Action="WMS6.Services/IMessageService/InsertUserMessageInfo", ReplyAction="WMS6.Services/IMessageService/InsertUserMessageInfoResponse")]
        string InsertUserMessageInfo(UserMessageInfo userMessageInfo, PubParasInfo pubParasInfo);
        [OperationContract(Action="WMS6.Services/IMessageService/InsertUserMessageInfoList", ReplyAction="WMS6.Services/IMessageService/InsertUserMessageInfoListResponse")]
        string InsertUserMessageInfoList(List<UserMessageInfo> userMessageInfoList, PubParasInfo pubParasInfo);
        [OperationContract(Action="WMS6.Services/IMessageService/UpdateMarkUserMessageInfo", ReplyAction="WMS6.Services/IMessageService/UpdateMarkUserMessageInfoResponse")]
        string UpdateMarkUserMessageInfo(string rowIDs, string isRead, PubParasInfo pubParasInfo);
        [OperationContract(Action="WMS6.Services/IMessageService/UpdateMessageCommandInfo", ReplyAction="WMS6.Services/IMessageService/UpdateMessageCommandInfoResponse")]
        string UpdateMessageCommandInfo(MessageCommandInfo messageCommandInfo, PubParasInfo pubParasInfo);
        [OperationContract(Action="WMS6.Services/IMessageService/UpdateUserMessageInfo", ReplyAction="WMS6.Services/IMessageService/UpdateUserMessageInfoResponse")]
        string UpdateUserMessageInfo(UserMessageInfo userMessageInfo, PubParasInfo pubParasInfo);
    }
}

